home *** CD-ROM | disk | FTP | other *** search
/ Aminet 31 / Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso / Aminet / dev / amos / AMOSList-0199.lzh / AMOSLIST / 000000_nobody_Mon Jan 25 11:14:24 1999.msg next >
Internet Message Format  |  1999-02-11  |  3KB

  1. Received: from onelist.com (pop.onelist.com [209.207.164.213])
  2.     by osf1.gmu.edu (8.8.8/8.8.8) with SMTP id LAA23530
  3.     for <mcox4@osf1.gmu.edu>; Mon, 25 Jan 1999 11:13:41 -0500 (EST)
  4. Received: (qmail 22011 invoked by alias); 25 Jan 1999 16:27:12 -0000
  5. Received: (qmail 21994 invoked from network); 25 Jan 1999 16:27:09 -0000
  6. Received: from unknown (HELO golden.net) (199.166.210.183) by pop.onelist.com with SMTP; 25 Jan 1999 16:27:09 -0000
  7. Received: from hicksville.ddns.org (Giark@AS52-14-153.cas-kit.golden.net [209.183.130.153]) by golden.net (8.8.5/8.6.12) with SMTP id LAA21736 for <amos-list@onelist.com>; Mon, 25 Jan 1999 11:13:12 -0500 (EST)
  8. From: "Rev. Giark To You" <giark@hicksville.ddns.org>
  9. To: Declan Gorman <amos-list@onelist.com>
  10. Date: Mon, 25 Jan 1999 11:05:59 -0500
  11. Message-ID: <yam7694.2979.2016163032@golden.net>
  12. In-Reply-To: <001f01be4847$924ab500$5548a8c0@gormand>
  13. X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
  14. Mailing-List: list amos-list@onelist.com; contact amos-list-owner@onelist.com
  15. Delivered-To: mailing list amos-list@onelist.com
  16. Precedence: bulk
  17. List-Unsubscribe: <mailto:amos-list-unsubscribe@ONElist.com>
  18. Reply-to: amos-list@onelist.com
  19. Mime-Version: 1.0
  20. Content-Type: text/plain
  21. Subject: [amos-list] Re: Slider Gadgets and Preset Values
  22. Status: O
  23. X-Status: 
  24.  
  25. From: "Rev. Giark To You" <giark@hicksville.ddns.org>
  26.  
  27. On 25-Jan-99, Declan Gorman wrote:
  28. >  My problem is that I cannot display decimal numbers as they seem to be
  29. >rounded off to the nearest whole number. ie. "0.5" is displayed as "1".
  30.  
  31. I found the same problem. It is in the GUI extension and Pietro seems to have
  32. died. The only solution is to make a text gadget and use the str$() function
  33. to change your number into a string.
  34.  
  35. A$=Str$(YOURNUM#)
  36. 'Remember that you must use the # after variables if they are floating point,
  37. or AMOS will chop the decimals off itself
  38. Gui Set 1,1,0,Varptr(A$)
  39.  
  40. Well met and godspeed,
  41.                       Rev. Giark
  42.                                              ICQ 12235820
  43.                                       giark@hicksville.ddns.org
  44.                                http://www.hicksville.ddns.org/~erotica/
  45.                             .----------------------------------------------.
  46.                             |      ______  ______    _____                 |
  47.                             |     / ____/ / __  /   / ___ \ Makers of      |
  48.                             |    / /__   / /_/ /   / /  / / SoloTrek III   |
  49.                             |   / ___/  / ____ \  / /  / /                 |
  50.                             |  / /     / /___/ / / /  / /   CyberSpace BBS |
  51.                             | /_/     /_______/ /_/  /_/        TelNet     |
  52.                             |    Fly By Nite Videe-Oh!                     |
  53.                             |    Amiga 1200 030/50MHz 2Mb Chip 32Mb Fast   |
  54.                             `----------------------------------------------'
  55.  
  56.  
  57. ------------------------------------------------------------------------
  58. To unsubscribe from this mailing list, or to change your subscription
  59. to digest, go to the ONElist web site, at http://www.onelist.com and
  60. select the User Center link from the menu bar on the left.
  61. ------------------------------------------------------------------------
  62. Official AMOS WWW: http://members.xoom.com/AmosFactory/front.html